package com.hougong.im.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 群组表
 * </p>
 *
 * @author lsz
 * @since 2018-08-25
 */
@TableName("chat_group")
public class ChatGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 群组id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 群的名字
     */
	private String name;
    /**
     * 群的创建者
     */
	private Long creater;
    /**
     * 群的简介
     */
	private String introduction;
    /**
     * 创建时间
     */
	private Date createtime;

	private String gavatar;

    /**
     * 标签，多个逗号隔开
     */
	private String label;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getCreater() {
		return creater;
	}

	public void setCreater(Long creater) {
		this.creater = creater;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getGavatar() {
		return gavatar;
	}

	public void setGavatar(String gavatar) {
		this.gavatar = gavatar;
	}


}
